<template>
  <div id="app">
    <keep-alive>
      <!-- 路由占位符 -->
      <router-view v-if="$route.meta.keepAlive" />
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive" />
  </div>
</template>

<style lang="less" scoped></style>
